package com.rzj.book.bo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName UserBO
 * @Description TODO
 * @Author Administrator
 * @Date 2020/5/15 23:56
 * @Version 1.0
 */
public class UserBO {

    private String userName;

    private String name;

    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private String tel;

    private String email;

    private Integer sex;//1:男 2:女

    private String address;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
